﻿using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using System.Text;

namespace SerbinAV.MobileSales.Sales.Common
{
    public class TextSaveLoader:ISaveLoader<string>
    {

        #region ISaveLoader<string> Members

        public string Load(System.IO.Stream strem)
        {
            throw new NotImplementedException();
        }

        public void Save(string item, System.IO.Stream stream)
        {
            using (StreamWriter sw = new StreamWriter(stream))
            {
                sw.WriteLine(item);
            }
        }

        #endregion
    }
}
